package com.zr.service.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.model.User;
import com.zr.service.FindUnameService;
@Service("findu")
public class FindUnameServiceImpl implements FindUnameService{
	
	@Resource
	private BaseDao baseDao;
	
	@Override
	public User findUname(int uid) {
		User u = (User) baseDao.get(User.class, Integer.valueOf(uid));
		return u;
	}

}
